package com.zmkj.cn;


import com.spring4all.swagger.EnableSwagger2Doc;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author 伍绍宇 Coy
 */
@SpringBootApplication
@EnableSwagger2Doc
@EnableConfigurationProperties
@ConfigurationPropertiesScan(basePackages = { "com.zmkj.cn.config" })
@MapperScan("com.*.mapper")
public class Application {
	public static void main(String[] args) {
		ConfigurableApplicationContext run = SpringApplication.run(Application.class, args);
	}

}
